package com.ailink.design.pattern.observer.weather;

/**
 * 具体的目标对象，负责吧有关状态存入
 * Created by Administrator on 2018/8/14
 */
public class ConcreteWeatherSubject extends WeatherSubject {
    private String weatherContent;

    public String getWeatherContent() {
        return weatherContent;
    }

    public void setWeatherContent(String weatherContent) {
        this.weatherContent = weatherContent;
        this.notifyObservers();
    }
}
